home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
satellit
/
vstsrc
/
vstdib.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-02-02
|
603b
|
22 lines
#ifndef _VSTDIB_H
#define _VSTDIB_H
#undef MIN
#undef ALIGNBYTE
#undef ALIGNLONG
#define MIN(x,y) (((int)(x) <= (int)(y)) ? x : y)
#define ALIGNBYTE(i) (((i+31)/32)*4)
#define ALIGNLONG(i) (((i+3)/4)*4)
#define FILEHEADERSZ (3*sizeof(short) + 2*sizeof(long))
#define CHUNKSIZE 32768
#define BMPMAGIC 0x4d42
long rdBitmapHdr(int, BITMAPFILEHEADER *);
long getclr(void *);
HBITMAP DIB2Bitmap(HANDLE, int);
long Readx(int, void *, long);
HANDLE getDIBInfo(int, int *, int *);
HBITMAP ReadDIB(int, char *, int, int *, int *, mapdata_t *);
#endif /* _VSTDIB_H */